package com.evildog.workspace.life.application.bo;

import lombok.Data;

import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 相片 详情BO
 * </p>
 *
 * @author evildog
 * @since 2020-07-18
 */
@Data
@Accessors(chain = true)
public class PhotoListBO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 相册id
     */
    private Long albumId;
    /**
     * 地址
     */
    private String url;
    /**
     * 星级 1-5 (保存*10)
     */
    private Integer star;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    private List<PhotoTagBO> photoTags;

}
